package com.github.raffle.behavior.state.color;

public class Sample {
	private Color color;
	public Sample(Color color) {
		this.color = color;
	}
	public void operate() {
		switch (color) {
		case BLUE:
			System.out.println("Draw BLUE");
			break;
		case GREEN:
			System.out.println("Draw GREEN");
			break;
		case BLACK:
			System.out.println("Draw BLACK");
			break;
		case RED:
			System.out.println("Draw RED");
			break;
		default:
			System.out.println("Draw BLUE");
			break;
		}
	}
}
